// eslint-disable-next-line no-undef
export const mixin = Behavior({
  data: {
    tabBar: ['/pages/index/index', '/pages/my/index']
  },
  methods: {
    /**
     * 判断是否是 tabBar页面：true 是 | false 不是
     * @param {*} url 跳转页面
     * @returns 
     */
    isTabBar(url) {
      return this.data.tabBar.includes(url)

    }
  }
})